Documentation fixes
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 15 Feb 2008 18:37:34 +0000 (18:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 15 Feb 2008 18:37:34 +0000 (18:37 +0000)
svn path=/trunk/; revision=19577

ChangeLog
gdk/x11/gdkscreen-x11.c
gdk/x11/gdktestutils-x11.c

index efb75fd245db22e9401275421b5a272e189f1b6d..cdcc2a10fa618d1b5a496f24c208d2a224180ab6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-15  Matthias Clasen <mclasen@redhat.com>
+
+       * gdk/x11/gdktestutils-x11.c:
+       * gdk/x11/gdkscreen-x11.c: Documentation fixes.
+
 2008-02-15  Tor Lillqvist  <tml@novell.com>
 
        * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
index 9fd56dde06b79a632b59004eb53dd20642aa1a6f..74a16c015a28ed1a72ea876a8964971406f4cc73 100644 (file)
@@ -377,7 +377,7 @@ get_monitor (GdkScreen *screen,
  *
  * Gets the width in millimeters of the specified monitor, if available.
  *
- * Returns the width of the monitor, or -1 if not available;
+ * Returns the width of the monitor, or -1 if not available
  *
  * Since: 2.14
  */
@@ -395,7 +395,7 @@ gdk_screen_get_monitor_width_mm     (GdkScreen *screen,
  *
  * Gets the height in millimeters of the specified monitor. 
  *
- * Returns: the height of the monitor
+ * Returns: the height of the monitor, or -1 if not available
  *
  * Since: 2.14
  */
index c0657e88240883cad5b470bf6501204c63ade774..920a87a333d46a2a0c10565ce326ac4a20eace7f 100644 (file)
 #include <X11/Xlib.h>
 
 /**
- * gdk_test_render_sync
- * @window: a mapped GdkWindow
+ * gdk_test_render_sync:
+ * @window: a mapped #GdkWindow
  *
- * This function retrives a pixel from @window to force the windowing
+ * This function retrieves a pixel from @window to force the windowing
  * system to carry out any pending rendering commands.
  * This function is intended to be used to syncronize with rendering
  * pipelines, to benchmark windowing system rendering operations.
+ *
+ * Since: 2.14
  **/
 void
 gdk_test_render_sync (GdkWindow *window)
@@ -45,14 +47,14 @@ gdk_test_render_sync (GdkWindow *window)
 
 /**
  * gdk_test_simulate_key
- * @window: Gdk window to simulate a key event for.
+ * @window: a #GdkWindow to simulate a key event for.
  * @x:      x coordinate within @window for the key event.
  * @y:      y coordinate within @window for the key event.
- * @keyval: A Gdk keyboard value.
+ * @keyval: A GDK keyboard value.
  * @modifiers: Keyboard modifiers the event is setup with.
  * @key_pressrelease: either %GDK_KEY_PRESS or %GDK_KEY_RELEASE
  *
- * This function is intended to be used in Gtk+ test programs.
+ * This function is intended to be used in GTK+ test programs.
  * If (@x,@y) are > (-1,-1), it will warp the mouse pointer to
  * the given (@x,@y) corrdinates within @window and simulate a
  * key press or release event.
@@ -67,7 +69,10 @@ gdk_test_render_sync (GdkWindow *window)
  * right function to call which will generate a key press event
  * followed by its accompanying key release event.
  *
- * Returns: wether all actions neccessary for a key event simulation were carried out successfully.
+ * Returns: wether all actions neccessary for a key event simulation 
+ *     were carried out successfully.
+ *
+ * Since: 2.14
  **/
 gboolean
 gdk_test_simulate_key (GdkWindow      *window,
@@ -143,14 +148,14 @@ gdk_test_simulate_key (GdkWindow      *window,
 
 /**
  * gdk_test_simulate_button
- * @window: Gdk window to simulate a button event for.
+ * @window: a #GdkWindow to simulate a button event for.
  * @x:      x coordinate within @window for the button event.
  * @y:      y coordinate within @window for the button event.
  * @button: Number of the pointer button for the event, usually 1, 2 or 3.
  * @modifiers: Keyboard modifiers the event is setup with.
  * @button_pressrelease: either %GDK_BUTTON_PRESS or %GDK_BUTTON_RELEASE
  *
- * This function is intended to be used in Gtk+ test programs.
+ * This function is intended to be used in GTK+ test programs.
  * It will warp the mouse pointer to the given (@x,@y) corrdinates
  * within @window and simulate a button press or release event.
  * Because the mouse pointer needs to be warped to the target
@@ -162,7 +167,10 @@ gdk_test_simulate_key (GdkWindow      *window,
  * function to call which will generate a button press event followed
  * by its accompanying button release event.
  *
- * Returns: wether all actions neccessary for a button event simulation were carried out successfully.
+ * Returns: wether all actions neccessary for a button event simulation 
+ *     were carried out successfully.
+ *
+ * Since: 2.14
  **/
 gboolean
 gdk_test_simulate_button (GdkWindow      *window,